<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <!-- Bootstrap -->
    <link href="css/bootstrap-4.0.0.css" rel="stylesheet">
    <link rel="stylesheet" href="css/login-page.css">
</head>
<body>
<div th:insert="fragment/header :: top-header"></div>
<div class="alert alert-danger alert-dismissible fade show" role="alert">
    <strong>账号或者密码错误!</strong> 请重新登录！
    <button type="button" class="close" data-dismiss="alert" aria-label="Close">
        <span aria-hidden="true">&times;</span>
    </button>
</div>
<div class="login-form card">
    <form action="/check" method="POST">
        <div class="form-group">
            <label for="exampleInputEmail1">账户</label>
            <input name="username" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter username">
        </div>
        <div class="form-group">
            <label for="exampleInputPassword1">密码</label>
            <input type="password" name="pwd" class="form-control" id="exampleInputPassword1" placeholder="Password">
        </div>
        <div class="form-check">
            <input type="checkbox" class="form-check-input" id="exampleCheck1">
            <label class="form-check-label" for="exampleCheck1">Check me out</label>
        </div>
        <button type="submit" class="btn btn-primary">登录</button>
        <button type="button" class="btn btn-link register-btn"><a class="nav-link" href="/register">还没有账号？点我注册</a></button>
    </form>
</div>
<hr>
<div class="container"> </div>
<div th:insert="fragment/footer :: footer"></div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery-3.2.1.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/popper.min.js"></script>
<script src="js/bootstrap-4.0.0.js"></script>
<script>

</script>
</body>
</html>